package c.e.a.b.g;

public final class m implements Runnable {
    public final /* synthetic */ g a;
    public final /* synthetic */ l b;

    public m(l lVar, g gVar) {
        this.b = lVar;
        this.a = gVar;
    }

    public final void run() {
        if (this.a.i()) {
            this.b.c.o();
            return;
        }
        try {
            this.b.c.n(this.b.b.a(this.a));
        } catch (e e) {
            if (e.getCause() instanceof Exception) {
                this.b.c.m((Exception) e.getCause());
            } else {
                this.b.c.m(e);
            }
        } catch (Exception e2) {
            this.b.c.m(e2);
        }
    }
}
